package com.site.entity;

import java.util.Date;

/**
 * GoodContent entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class GoodContent implements java.io.Serializable {

	// Fields

	private String id;
	private String title;
	private String content;
	private Date createTime;
	private Short useCount;

	// Constructors

	/** default constructor */
	public GoodContent() {
	}

	/** minimal constructor */
	public GoodContent(String id) {
		this.id = id;
	}

	/** full constructor */
	public GoodContent(String id, String title, String content,
			Date createTime, Short useCount) {
		this.id = id;
		this.title = title;
		this.content = content;
		this.createTime = createTime;
		this.useCount = useCount;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Short getUseCount() {
		return this.useCount;
	}

	public void setUseCount(Short useCount) {
		this.useCount = useCount;
	}

}